package org.daochong.lang;

import java.io.File;
import java.io.InputStream;
import java.nio.charset.Charset;

public interface Expression {

	public Object eval(String expression);

	public Object eval(String expression, Object obj);

	public Object eval(File file);

	public Object eval(File file, Object obj);

	public Object eval(File file, Charset encoding);

	public Object eval(File file, Charset encoding, Object obj);

	public Object eval(Resource resource);

	public Object eval(Resource resource, Object obj);

	public Object eval(Resource resource, Charset encoding);

	public Object eval(Resource resource, Charset encoding, Object obj);

	public Object eval(InputStream in);

	public Object eval(InputStream in, Object obj);

	public Object eval(InputStream in, Charset encoding);

	public Object eval(InputStream in, Charset encoding, Object obj);
}
